package com.sxpi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sxpi.common.result.Result;
import com.sxpi.model.entity.Likes;

import java.util.Map;

/**
 * @author happy
 * @create 2024-10-29-{TIME}
 */
public interface LikesService extends IService<Likes> {
    void removeLike(Long userId, String workId, String costumesId);
    Long getLikeCountByWorkId(Long workId);
    Result<Map<String, Object>> handleLike(Long userId, Integer isLike, Map<String, String> likeData);
} 